package com.hck.types.common;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * 常量定义
 */
public class Constants {

    public final static String SPLIT = ",";
    public final static String CONSULTATION_KEY = "healthcare_consultation_key_";
    public final static String CONSULTATION_REPLY_LIST_KEY = "healthcare_consultation_reply_list_key_";
    public final static String CONSULTATION_LIST_KEY = "healthcare_consultation_list_key_";
    public final static String DOCTOR_LIST_KEY = "healthcare_doctor_list_key";




    @AllArgsConstructor
    @NoArgsConstructor
    @Getter
    public enum ResponseCode {

        SUCCESS("0000", "成功"),
        UN_ERROR("0001", "未知失败"),
        ILLEGAL_PARAMETER("0002", "非法参数"),
        ;

        private String code;
        private String info;



        public String getCode() {
            return code;
        }

        public String getInfo() {
            return info;
        }
    }

}
